<script setup lang="ts">
import { storeToRefs } from 'pinia'
import { useShopHomeCounterStore } from '../../storage/shop-storage'

const store = useShopHomeCounterStore()
const { count } = storeToRefs(store)

const featureState = ref(0);
const feature = computed(() => featureState.value);

</script>
<template>
    <div class="shop-home-container" @click="store.increment">
    商场首页访问次数:{{count  }}
    <hello></hello>
    <tab></tab>
    <el-button type="primary">ele-plus按钮</el-button>
    {{ featureState }}
</div>
</template>